package com.zmn.oms.common.dio.quotation3;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 描述: 工程师验收项目DIO
 *
 * @author wangxiaokun
 * @since  2021/12/16 14:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderAcceptMaintainItemDIO implements Serializable {

    private static final long serialVersionUID = 7283982503834751032L;

    @NotNull(message = "验收检修项目ID不能为空")
    @ApiModelProperty("验收检修项目id")
    private Integer acceptMaintainId;

    @NotNull(message = "验收检修项目名称不能为空")
    @ApiModelProperty("验收检修项目名称")
    private String acceptMaintainName;

    @NotNull(message = "参考值不能为空")
    @ApiModelProperty("参考值")
    private String referenceName;

    @NotNull(message = "选中值ID不能为空")
    @ApiModelProperty("选中值ID")
    private Integer selectedValue;

    @NotNull(message = "选中值内容不能为空")
    @ApiModelProperty("选中值内容")
    private String selectedName;

    @NotNull(message = "选中值类型不能为空")
    @ApiModelProperty("选中值类型")
    private Integer selectedType;

    @NotNull(message = "选中值状态不能为空")
    @ApiModelProperty("选中值状态/结果")
    private boolean status;
}
